package myJs.myPkg.bootstrap.jquery

import scala.scalajs.js
import myJs.myPkg.jquery._
import slinky.readwrite.ObjectOrWritten

/** Created by Administrator on 2019/12/31
  */

case class PopoverOptions(
                           container:js.UndefOr[String]=js.undefined,
                           trigger:js.UndefOr[String]=js.undefined,
                         )

@scalajs.js.native
trait BootstrapJQuery extends scalajs.js.Object {
  def tab(options: scalajs.js.Any): JQuery = scalajs.js.native
  def carousel(options: scalajs.js.Any = ???): JQuery = scalajs.js.native
  def modal(options: scalajs.js.Any = ???): JQuery = scalajs.js.native
  def tooltip(options: scalajs.js.Any = ???): JQuery = scalajs.js.native
  def popover(
      options: js.UndefOr[ObjectOrWritten[PopoverOptions]] = js.undefined
  ): JQuery = js.native
}
